package com.only4play.sample;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

/**
 * @author zlm
 * @date 2024/1/19
 */
@SpringBootApplication
@EnableJpaRepositories(basePackages = {"com.only4play.sample"})
@EntityScan(basePackages = {"com.only4play.sample.domain"})
public class SampleApplication {

  public static void main(String[] args) {
    SpringApplication.run(SampleApplication.class,args);
  }
}
